/*
 * driver for the compiled scheme function.
 */

#include <stdio.h>
#include "scheme.h"

/* this is the name of the function created by our compiler */
void schemeCompiledFunction(void);

int main(void)
{
	// runtime environment is initialized within schemeCompiledFunction

	DEBUG_ENTER("welcome to THE SCHEME!!");
	initVirtualHardware() ;
	schemeCompiledFunction() ;
	cleanVirtualHardware();
	printf("%s\n", sobToString(Sob(machine.reg[RES]))) ;
	DEBUG_EXIT("you can run, but you cannot hide from TOLKIEN!!!") ;
	return 0 ;
}
